logo

Crate cvss

source · []
Expand description

RustSec: Common Vulnerability Scoring System

Latest Version Docs Build Status Safety Dance MSRV Apache 2.0 OR MIT licensed Project Chat

Rust implementation of the Common Vulnerability Scoring System (Version 3.1) Specification.

Documentation

Minimum Supported Rust Version

Rust 1.56

License

Licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.

Usage

The v3::Base type provides the main functionality currently implemented by this crate, namely: support for parsing, serializing, and scoring CVSS:3.0 and CVSS:3.1 Base Metric Group vector strings as described in the CVSS v3.1 Specification.

Serde support is available through the optional serde Cargo feature.

Modules

Common Vulnerability Scoring System (v3.1)

Enums

Kinds of errors

Enum over all of the available metrics.

Qualitative Severity Rating Scale

Constants

Prefix used by all CVSS strings

Traits

Trait for CVSS metrics.

Type Definitions

Result type with the cvss crate’s Error type.